package cn.kone.remote.dto.param;

import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

@Data
public class LoginDto {

    @NotNull(message = "id不能为空")
    private Long id;

    @NotNull(message = "类型不能为空")
    private Integer type;

    @NotEmpty(message = "头像不能为空")
    private String avatar;

    @NotEmpty(message = "昵称不能为空")
    private String nickName;

    @NotEmpty(message = "openid不能为空")
    private String openId;

    @NotEmpty(message = "手机号不能为空")
    private String phone;


}
